package fl.ass.service.dao;

import fl.ass.facade.condition.AssSchFeeDQueryCondition;
import fl.ass.facade.dto.AssSchFeeDDTO;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cmm.mid.core.framework.page.Pager;
import cmm.service.core.framework.dao.IBaseDao;
import cn.cmm.base.framework.exception.BaseException;
import fl.ass.service.po.AssSchFeeD;
import fl.ass.service.po.AssSchFeeM;
import fl.ass.service.po.PrjPrdDtl;

/**
 *  @Description: 支付表费用项明细表 持久层
 *  @Description: 持久层方法名称前缀：新增：insert* 删除：delete* 修改：update* 批量：batch* 查询对象：select* get* find* 查询集合：select*
 */
public interface AssSchFeeDMapper extends IBaseDao<AssSchFeeD,AssSchFeeDQueryCondition>{

    /**
     * 查询数据是否存在
     * @param paySchId
     * @return Integer
     * @throws BaseException
     */
    public Long selectAssSchFeeMId(@Param("paySchId")Long paySchId)throws BaseException;

    /**
     * 添加追加费用 m
     * @param paySchId
     * @return Integer
     * @throws BaseException
     */
    public Long insertAssSchFeeM(AssSchFeeM assSchFeeM)throws BaseException;
    /**
     * 更新追加费用 m
     * @param paySchId
     * @return Integer
     * @throws BaseException
     */
    public Integer updateAssSchFeeM(AssSchFeeM assSchFeeM)throws BaseException;

    /**
     * 添加追加费用明细 d
     * @param assSchFeeD
     * @return
     * @throws BaseException
     */
    public Long insertAssSchFeeD(AssSchFeeD assSchFeeD)throws BaseException;

    /**
     * 查看数据是否存在
     * @param assSchFeeD
     * @return
     * @throws BaseException
     */
    public Long selectAssSchFeeDCount(@Param("id")Long id)throws BaseException;
    /**
     * 更新追加费用D
     * @param d
     * @return Integer
     * @throws BaseException
     */
    public Integer updateAssSchFeeD(AssSchFeeD assSchFeeD)throws BaseException;

    /**
     * 更新追加费用D
     * @param id
     * @return List<AssSchFeeD>
     * @throws BaseException
     */
    public List<AssSchFeeD> selectAssSchFeeDById(Pager page)throws BaseException;

    /**
     * 更新支付表明细 资产状态
     * @param id
     * @return List<AssSchFeeD>
     * @throws BaseException
     */
    public Integer updatePrjPrdDtl(PrjPrdDtl prjPrdDtlPO)throws BaseException;



}
